<div id="sidebar">
<?php if ( !function_exists('dynamic_sidebar')
		        || !dynamic_sidebar('blog-sidebar1') ) : ?>

<h3><?php _e('Archive'); ?></h3>
<h4><?php _e('By Date'); ?></h4>
<form id="archiveform" action="">
<select name="archive_chrono" onchange="window.location = 
(document.forms.archiveform.archive_chrono[document.forms.archiveform.archive_chrono.selectedIndex].value);">
<?php get_archives('monthly','','option'); ?></select></form>
<h4><?php _e('By Topic'); ?></h4>
<form action="<?php bloginfo('url'); ?>" method="get"> <?php wp_dropdown_categories('show_count=1&hierarchical=1'); ?> <input type="submit" name="submit" value="view" /> </form>


<?php endif; ?>

</div>